package com.xzk.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName ResultData
 * @Description 用于存储快递查询的结果
 * @Author 0715-YuHao
 * @Date 2020/9/11 10:15
 * @Version 1.0
 */
public class ResultData<T> {
    //每次查询的数据集合
    private List<T> rows = new ArrayList<>();
    //总数量
    private long total;

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }
}
